#Version 0.1
FROM  registry.jy.com/alpine-glibc-openjdk:9.0.4.1
MAINTAINER yxy@qq.com

RUN rm -f /opt/BPKDataPipelineServer/*.jar
RUN rm -f /opt/BPKDataPipelineServer/*.sh

COPY *.jar /opt/BPKDataPipelineServer/
COPY start.sh /opt/BPKDataPipelineServer/start.sh

RUN chmod a+x  /opt/BPKDataPipelineServer/start.sh
ENV TZ=Asia/Shanghai
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone

WORKDIR /opt/BPKDataPipelineServer/


CMD /opt/BPKDataPipelineServer/start.sh
